package com.zy.designpattern;

public class SubTemplate extends Template {

    @Override
    public void code() throws InterruptedException {
        System.out.println("我是SubTemplate。。");
        Thread.sleep(2000);
    }
}